package com.zzyweb.rentalcarsys.entity.relationship;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhiyi
 * @date 10/9/25
 **/
@TableName("role_menu")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoleAndMenu {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer menuId;
    private Integer roleId;
}
